//----------------------------------------------------------------
// pp51.java           Author:YanYuJun
//----------------------------------------------------------------
   
  import java.util.Scanner;
  
  public class pp51
   {
     //--------------------------------------------------
     // Tests years to see if they are leap year
     //--------------------------------------------------
   public static void main(String[] args)
    {
      int year;
      Scanner scan =new Scanner(System.in);
      
      System.out.print("Enter the number of the year:" 
                      );
      year =scan.nextInt();
       
      if(year%4 ==0 )
         if(year%100 !=0)
           
        System.out.println("It is leap year");
      if(year%100==0)
        if(year%400==0)

        System.out.println("It is leap year");

      
        System.out.println("It isn't leap year"); 
    } 
}
        
       
     
